From: Florian Müllner Date: Thu, 10 Apr 2025 18:49:40 +0000 (+0200) Subject: calendar: Move "Clear" button to the start X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~124^2^2~11 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1814813f19ff98cdabf73d5ebe8ebf385ff96928;p=gnome-shell.git calendar: Move "Clear" button to the start Aligning the button to the end is a bit odd after removing the do-not-disturb switch, so move it to the start instead and make it pill-shaped to align better with the popover. Part-of: --- diff --git a/data/theme/gnome-shell-sass/widgets/_message-list.scss b/data/theme/gnome-shell-sass/widgets/_message-list.scss index 65e328fbb..fa4dd58cf 100644 --- a/data/theme/gnome-shell-sass/widgets/_message-list.scss +++ b/data/theme/gnome-shell-sass/widgets/_message-list.scss @@ -46,6 +46,10 @@ padding-bottom: $base_padding; spacing: $base_padding; @extend %heading; + + .message-list-clear-button { + border-radius: $forced_circular_radius; + } } // message notification group diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 936854c5a..4ff0540ba 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -812,7 +812,7 @@ class CalendarMessageList extends St.Widget { label: _('Clear'), can_focus: true, x_expand: true, - x_align: Clutter.ActorAlign.END, + x_align: Clutter.ActorAlign.START, accessible_name: C_('action', 'Clear all notifications'), }); this._clearButton.connect('clicked', () => {